* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-color: #8bc6ec;
  background-image: linear-gradient(135deg, #8bc6ec 0%, #9599e2 100%);
  color: white;
  min-height: 100vh;
}
header {
  font-size: 2rem;
}
header,
form {
  min-height: 20vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
form input,
form button {
  padding: 0.5rem;
  font-size: 2rem;
  border: none;
  background: white;
  border-radius: 6px;
  outline: none;
}
form button {
  color: #86dcdf;
  background: #f7fffe;
  cursor: pointer;
  margin-left: -10px;
}
form button:hover {
  background: #018182;
  color: white;
}
.todo-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.todo-list {
  min-width: 30%;
  list-style: none;
}
.todo {
  margin: 0.5rem;
  background: rgb(255, 255, 255);
  font-size: 1.5rem;
  color: black;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-width: 80vw;
  box-shadow: 3px 3px rgb(73, 69, 69);
}
.filter-todo {
  padding: 1rem;
}
.select::after {
  content: "\25BC";
  position: absolute;
  top: 10px;
  right: 10px;
  max-height: 24px;
  border-radius: 4px;
  padding: 0.2rem;
  background: #86dcdf;
  color: white;
  cursor: pointer;
  font-size: 20px;
  pointer-events: none;
}
.todo li {
  flex: 1;
}
@media (max-width: 500px) {
  form input {
    margin-left: 30px;
    width: 40vw;
    max-height: 14vh;
  }
}
.trash-btn,
.complete-btn {
  background: #f57569;
  color: white;
  border: none;
  padding: 1rem;
  cursor: pointer;
  font-size: 1rem;
}
.trash-btn{
  margin-right:0px ;
}
.complete-btn {
  margin-left: auto;
  background: #5ff190;
}
.todo-item {
  padding-left:1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
}
.complete-btn .icon,
.trash-btn .icon {
  font-size: 25px;
}

.completed {
  text-decoration: line-through;
  opacity: 0.5;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  appearance: none;
  outline: 0;
  box-shadow: none;
  border: 0 ;
  background-image: none;
}
.select {
  border: 1px solid rgb(163, 153, 153) ;
  margin: 1rem;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 2px 2px rgb(73, 69, 69);
}
select {
  color: #018181;
  font-family: "Poppins", sans-serif;
  cursor: pointer;
  width: 12rem;
  font-weight: bold;
  font-size: 15px;
}
